package edu.zust.zw.shop.db.dao;

import edu.zust.zw.shop.db.dao.domain.ShopMessageDomain;
import edu.zust.zw.shop.db.dao.domain.ShopMessageDomainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopMessageDomainMapper {
    long countByExample(ShopMessageDomainExample example);

    int deleteByExample(ShopMessageDomainExample example);

    int deleteByPrimaryKey(String messageId);

    int insert(ShopMessageDomain record);

    int insertSelective(ShopMessageDomain record);

    List<ShopMessageDomain> selectByExample(ShopMessageDomainExample example);

    ShopMessageDomain selectByPrimaryKey(String messageId);

    int updateByExampleSelective(@Param("record") ShopMessageDomain record, @Param("example") ShopMessageDomainExample example);

    int updateByExample(@Param("record") ShopMessageDomain record, @Param("example") ShopMessageDomainExample example);

    int updateByPrimaryKeySelective(ShopMessageDomain record);

    int updateByPrimaryKey(ShopMessageDomain record);
}